<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class categoria_x_temporadaM extends CI_Model {

    public function __construct() {
        $this->load->database();
    }

    public function obtenerDatos($datos, $where) {
        $query = "SELECT $datos from categoria_x_temporada $where";
        return $this->db->query($query)->result();
    }

}